<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    
    
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <h4 style="color: red;">维度不需要手动编辑,题库导入->题库展示先择题目后自动显示</h4>
        </div>
       
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('')}</label>
        <div class="col-xs-12 col-sm-8">
            
            <table class="table fieldlist" data-name="row[dimensionArr]" data-template="row[dimensionArr]tpl">
                <tr>
                    <td>维度</td>
                    <td>名称</td>
                    <td width="90">{:__('Operate')}</td>
                </tr>
                <tr><td colspan="5">
                <!--<a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> {:__('Append')}</a>-->
                <textarea name="row[dimensionArr]" class="form-control hide" cols="30" rows="5">{$row.dimensionArr}</textarea>
                </td></tr>
            </table>
            <script type="text/html" id="row[dimensionArr]tpl">
                <tr>
                    <td><input type="text" name="<%=name%>[<%=index%>][key]" class="form-control" value="<%=row.key%>"/></td>
                    <td><input type="text" name="<%=name%>[<%=index%>][name]" class="form-control" value="<%=row.name%>"/></td>
                    <td width="90">
                        <span class="btn btn-sm btn-primary btn-dragsort"><i class="fa fa-arrows"></i></span>
                    </td>
                </tr>
            </script>

        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
